﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TaskProject.Domain.Production
{
    public  class ProductProcessModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int ProcessId { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        /// 加工顺序
        /// </summary>
        public int Order {  get; set; }
        /// <summary>
        /// 工艺流程
        /// </summary>
        public string Flow {  get; set; }
        /// <summary>
        /// 负责人外键
        /// </summary>
        public int LeaderId { get; set; }
        /// <summary>
        /// 生产工单外键
        /// </summary>
        public int WorkOrderId { get; set; }

    }
}
